package com.owen.he.jee.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

import com.owen.he.jee.vo.excel.ImportExcelResult;

public interface IndexService {

	/**
	 * @param response
	 * @param request
	 */
	void downloadFile(HttpServletResponse response, HttpServletRequest request);

	/**
	 * @param response
	 * @param request
	 */
	void downloadSteam(HttpServletResponse response, HttpServletRequest request);

	/**
	 * @param file
	 * @return
	 */
	ImportExcelResult importExcel(MultipartFile file);

	/**
	 * @param skey
	 * @param columnsSql
	 * @return
	 */
	List<Map> resultData(String skey, String columnsSql);

	
}
